package com.topisv.tms.exception;

public enum QMErrorCode implements IErrorCode {
	SIGN_CHECK_ERROR("S016", "签名验证失败"), // 签名验证失败
	SKU_EXISTS("S017", "SKU [%s] 已存在"), // SKU已存在
	SKU_NOT_EXISTS("S018", "SKU [%s] 不存在"), // SKU不存在
	NOT_SUPPORT_METHOD("S019", "不支持的操作 [%s]"), // 不支持的操作
	SUCCESS("1000","成功"),
	FAILURE("1001","失败"),
	SYS_ERROR("001","系统异常");
	;
	QMErrorCode(String code, String message) {
		this.code = code;
		this.message = message;
	}

	private String code;
	private String message;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}
